package com.cloud.rou.common.event;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * <p></p>
 *
 * @author GaoShuangWen
 */
@Retention(value = RetentionPolicy.RUNTIME)
@Target(value = {ElementType.METHOD,ElementType.TYPE})
public @interface GuavaEvent {
    boolean enable() default true;

    String value();

    GuavaEventPostEnum advice() default GuavaEventPostEnum.AFTER;

    boolean async() default true;
}
